/* globals App */

App({


    globalData: {
        userInfo: 'user'
    },
    onLaunch(options) {
        if (swan.canIUse('showFavoriteGuide')) {
            swan.showFavoriteGuide({
                type: 'bar',
                content: '一键添加到我的小程序',
                success(res) {
                    console.log('添加成功：', res);
                },
                fail(err) {
                    console.log('添加失败：', err);
                }
            });
        }
    },
    util: require('./kaiqibaocms/pages/public/unit.js'),
    siteInfo: require('./siteinfo.js'),
});

